package com.asm.entity.sys;

import com.asm.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author zhangyufu
 * @description 预定信息类，继承于BaseEntity类
 * 包括销售人员id，工人id，消费者id，合同id
 * @data 2019/7/9
 */
@Slf4j
@Data
@Accessors(chain = true)
@Entity
@Table(name = "t_book")
public class Book extends BaseEntity {

    @Column(name = "sell_id")
    private long sellId;

    @Column(name = "worker_id")
    private long workerId;

    @Column(name = "customer_id")
    private long customerId;

    @Column(name = "contract_id")
    private long contractId;

}
